#!/bin/sh
DIR=$(cd "$(dirname "$0")"; pwd)
LIB="/lib/"
CAR="$DIR$LIB"
CLASSPATH=""
for i in $( ls $CAR/*.jar );
do 
CLASSPATH="$CLASSPATH$i:" 
done

#Set the maximum RAM used by this program
MEMORY=4g

#OPTS="-ea -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=8010"
#OPTS="-ea -Dlog4j.configuration=file:log4j.properties"

java -Xmx$MEMORY -cp $CLASSPATH $OPTS com.dumontierlab.pdb2rdf.Pdb2Rdf $@
